package com.jiawei.permission;

import org.springframework.context.annotation.Configuration;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author : willian fu
 * @date : 2019/12/17
 * 字段权限过滤器
 */
@Configuration
public class FieldFilter {
    //角色与角色配置的字段权限
    private ConcurrentHashMap<String, Object> ROLE_DATA;
    private String config = "{\n" +
            "\t\"mapData\":{\n" +
            "        \"@obj\":[\"filed1\",\"filed2\"],\n" +
            "        \"@show\":false\n" +
            "    }\n" +
            "}";
    public Object filter(Object data){

        return null;
    }
}
